<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>思途CMS4.1</title>
    {template 'stourtravel/public/public_js'}
    {php echo Common::getCss('style.css,base.css,base2.css'); }
    {php echo Common::getScript("jquery.validate.js"); }
    {php echo Common::getScript("uploadify/jquery.uploadify.min.js,choose.js,product_add.js,imageup.js"); }
    {php echo Common::getCss('uploadify.css','js/uploadify/'); }
   <style>
        .error{
            color:red;
            padding-left:5px;
        }
        #frm .product-add-div .add-class dl dt
        {
            width:110px;
        }

    </style>

</head>
<body style="background-color: #fff">
<table class="content-tab">
    <tr>
        <td width="119px" class="content-lt-td" valign="top">
            {template 'stourtravel/public/leftnav'}
            <!--右侧内容区-->
        </td>
        <td valign="top" class="content-rt-td">



            <form id="frm" name="frm">
            <div id="product_grid_panel" class="manage-nr">
                <div class="w-set-con">
                    <div class="w-set-tit bom-arrow" id="nav">
                        <span class="on" id="basic"><s></s>基础信息</span>
                        <a href="javascript:;" class="refresh-btn" onclick="window.location.reload()">刷新</a>
                    </div>
                </div>
                        <div class="product-add-div" >
                            <div class="add-class">

                            <dl>
                                <dt>申请会员：</dt>
                                <dd>
                                     {$info['account']}
                                </dd>
                            </dl>

                            <dl class="list_dl">
                                <dt class="wid_150">申请提现金额：</dt>
                                <dd>
                                    {$info['withdrawamount']}
                                </dd>
                            </dl>
                            <dl class="list_dl">
                                <dt class="wid_150">提现银行卡卡号：</dt>
                                <dd>{$info['bankcardnumber']}</dd>
                            </dl>
                            <dl class="list_dl">
                                <dt class="wid_150">银行户名：</dt>
                                <dd>{$info['bankaccountname']}</dd>
                            </dl>

                            <dl class="list_dl">
                                <dt class="wid_150">开卡银行：</dt>
                                <dd>{$info['bankname']}</dd>
                            </dl>
                             <dl class="list_dl">
                                    <dt class="wid_150">备注说明：</dt>
                                    <dd>{$info['description']}</dd>
                             </dl>
                                <dl class="list_dl">
                                    <dt class="wid_150">提现状态：</dt>
                                    <dd>
                                        <input type="radio" name="status" value="0" {if $info['status']==0}checked="checked" {/if} {if $info['status']!=0}disabled="disabled"{/if}/>处理中
                                        <input type="radio" name="status" value="1" {if $info['status']==1}checked="checked" {/if} {if $info['status']!=0}disabled="disabled"{/if}/>已完成
                                        <input type="radio" name="status" value="2" {if $info['status']==2}checked="checked" {/if} {if $info['status']!=0}disabled="disabled"{/if}/>未通过
                                    </dd>
                                </dl>
                           </div>
                        </div>
						<div class="opn-btn">
                            <a class="normal-btn" id="btn_save" href="javascript:;">保存</a>
                        </div>

                        <dl class="list_dl">
                            <dt class="wid_150">&nbsp;</dt>
                            <dd>
                                <input type="hidden"  name="id" value="{$info['id']}">
                            </dd>
                        </dl>
            </div>
            </form>
        </td>
    </tr>
</table>


<script language="JavaScript">



    $("#btn_save").click(function(){
        Ext.Ajax.request({
            url   :  SITEURL+"fenxiao/ajax_withdraw_save",
            method  :  "POST",
            isUpload :  true,
            form  : "frm",
            success  :  function(response, opts)
            {

                var data = $.parseJSON(response.responseText);
                if(data.status)
                {
                    $("#id").val(data.productid);
                    ST.Util.showMsg('保存成功!','4',2000);
                }
                else
                {
                    ST.Util.showMsg(data.msg,'5',2000);
                }


            }
        });
    });






</script>

</body>
</html>